//
//  HZZFHttpRequestAgent.h
//  HZZFNetworking
//
//  Created by 早范 on 2025/7/7.
//  
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class HZZFHttpRequest;

@interface HZZFHttpRequestAgent : NSObject

@property (nonatomic, readonly, strong) NSOperationQueue *operationQueue;

+ (HZZFHttpRequestAgent *)sharedAgent;

- (void)addRequest:(HZZFHttpRequest *)request;
- (void)cancelRequest:(HZZFHttpRequest *)request;
- (BOOL)containsRequest:(HZZFHttpRequest *)request;
- (void)cancelAllRequest;

@end

NS_ASSUME_NONNULL_END
